#pragma once
#include "json_trans.h"

structJ(SkuJ,
	mapping(int, boxType);
mapping(QString, skuNo);
mapping(QString, boxLine);
mapping(int, count);
mapping(float, skuHeight);
mapping(float, skuWidth);
mapping(float, skuLength);
mapping(float, skuWeight);
prop(&boxType, &skuNo, &boxLine, &count, &skuHeight, &skuWidth, &skuLength, &skuWeight);
);


structJ(TaskDataJ,
	mapping(QString, taskId);
mapping(QString, robNo);
mapping(QString, stackPlace);
mapping(QString, grab);
mapping(int, taskType);
mapping(int, taskNum);
mapping(int, stackType);
mapping(QList<SkuJ>, skuList);
prop(&taskId, &robNo, &stackPlace, &grab, &taskType, &taskNum, &stackType, &skuList);
);


structJ(ArriveInfo,
	mapping(QString, taskId);
mapping(int, type);		// 1：货物 2：拆垛托盘 3：码垛托盘 4：托盘垛
mapping(QString, boxline);
mapping(QString, stackPlace);
prop(&taskId, &type, &boxline, &stackPlace);
);
